<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" type="image/x-icon" href="/bliss.ico"/>
	<title>Bliss | <%if @title != nil%><%= @title %><%else%>Mobile<%end%></title>
	<%= stylesheet_link_tag 'jquery.mobile-1.0.1.min.css', 'jqm-docs.css' %>
	<%= javascript_include_tag 'jquery-1.7.1.min.js', 'jquery.mobile-1.0.1.min.js' %>
</head> 
<body> 
<div data-role="page" class="type-home">
	<div data-role="header">
		<%if @title != nil%>
			<h1><%= @title %></h1> 
			<%= link_to "Home", {:action => :index},{"data-icon" => "home", "data-iconpos" => "notext"}%>
			<%if @parentId != nil%>
				<%= link_to "Back", {:action => @parent, :id => @parentId}, {"data-icon" => "arrow-l"}%>
			<%else%>
				<%= link_to "Back", {:action => @parent}, {"data-icon" => "arrow-l"}%>
			<%end%>
		<%end%>
	</div> 
	<div data-role="content">
		<div class="content-secondary">
			<div id="jqm-homeheader">
				<h1 id="jqm-logo"><span style="color: #cc0000;">Bliss</span> Project</h1>
				<p>Mobile Version</p>
			</div>
			<p class="intro"><strong>Welcome.</strong> Browse the Bliss Project Mobile revision to overview our IT Asset Management.</p>
		</div><!--/content-primary-->
		<div class="content-primary">	
			<%= yield %>
		</div>
	</div>
	<div data-role="footer" class="footer-docs" data-theme="c">
		<p>2012 JACCK© - Bliss Project</p>
	</div>	
</div>
</body>
</html>